package model

import "time"

type Number struct {
	Id           int32     `gorm:"column:id;type:int;primaryKey;not null;" json:"id"`
	CreatedAt    time.Time `gorm:"column:created_at;type:datetime;default:NULL;" json:"created_at"`
	UpdateAt     time.Time `gorm:"column:update_at;type:datetime;default:NULL;" json:"update_at"`
	DeleteAt     time.Time `gorm:"column:delete_at;type:datetime;default:NULL;" json:"delete_at"`
	RegisterTime int32     `gorm:"column:register_time;type:int;default:NULL;" json:"register_time"`
	LoginTime    int32     `gorm:"column:login_time;type:int;default:NULL;" json:"login_time"`
}

func (Number) TableName() string {
	return "number"
}
